]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Remove two line breaks to make comments for translators get displayed
authorAndre Klapper <a9016009@gmx.de>
Sat, 18 Jan 2020 13:04:16 +0000 (14:04 +0100)
committerAndre Klapper <a9016009@gmx.de>
Sat, 18 Jan 2020 13:07:41 +0000 (14:07 +0100)
A comment for translators must *immediately* precede a message:
https://wiki.gnome.org/TranslationProject/DevGuidelines/Use%20comments
These two comments were previously not displayed in any po files.

js/ui/calendar.js

index 9f785e0b09b7aa520089fca078af9aecc2a724de..d0866ddf8dfd2797c05e340fda80c72f0e4e39ca 100644 (file)
@@ -863,12 +863,10 @@ class EventsSection extends MessageList.MessageListSection {
         let now = new Date();
         if (sameYear(this._date, now)) {
             /* Translators: Shown on calendar heading when selected day occurs on current year */
-            dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
-                                                             "%A, %B %-d"));
+            dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d"));
         } else {
             /* Translators: Shown on calendar heading when selected day occurs on different year */
-            dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
-                                                             "%A, %B %-d, %Y"));
+            dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d, %Y"));
         }
         this._title.label = this._date.toLocaleFormat(dayFormat);
     }